<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>选项卡</title>
<style type="text/css">
<!--
.menu1 {
     font-size: 14px;
     color: #FFFFFF;
     text-decoration: none;
     background-color: skyblue;
     cursor:hand;
}
.menu2 {
     font-size: 14px;
     color: #990000;
     text-decoration: none;
     background-color: #FFFFFF;
     cursor:hand;
}-->
</style>
<script language="JavaScript">
function tabit(id,cid) {
tab1.className="menu2";
tab2.className="menu2";
id.className="menu1";
ctab1.style.display="none";
ctab2.style.display="none";
cid.style.display="block";
}
</script>
</head>
<body onload="tabit(tab1,ctab1)">
<table width="400" height="169" border="0" cellpadding="3" cellspacing="1" bgcolor="#990000">
   <tr>
     <td height="20" class="menu1" id="tab1" onclick="tabit(tab1,ctab1)">今日焦点</td>
     <td height="20" class="menu2" id="tab2" onclick="tabit(tab2,ctab2)">一周热门</td>
   </tr>
   <tr id="ctab1" style="display:none">
     <td height="100" colspan="2" bgcolor="#FFFFFF">今日焦点的内容</td>
   </tr>
   <tr id="ctab2" style="display:none">
     <td height="100" colspan="2" bgcolor="#FFFFFF">一周热门的内容</td>
   </tr>
</table>
</body>
</html>